<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/taglib/taglib.jsp" %>

<!DOCTYPE>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="${ctxStatic }/css/clientList.css?v=${timestamp}"  />
	<title>文件列表</title>
</head>
<body>
	<center>
		<h2>文件列表</h2>
		<table border="1px" cellpadding="0px" cellspacing="0px">
			<tr>
				<th>序号</th>
				<th>文件名</th>
				<th>操作</th>
			</tr>
		<c:forEach var="f" items="${fileList }" varStatus="index">
			<tr>
				<td>${index.count }</td>
				<td>${f.name }</td>
				<td><a href="${ctx }/downloadServlet?fileName=${f.name}">下载 </a></td>
			</tr>
		</c:forEach>	
		</table>

		<button onclick="return history.go(-1)">返回</button>
	</center>
</body>
</html>